import axios from 'axios';
import { postType } from '@/config/config';

//加载地区
export const getAreaData = (data) => axios.get('/index/areaList?areaCode=' + data);
//搜索联想
export const getAssociated = (data) => axios.post('/index/associated' + postType(data));
//发起搜索
export const getSearch = (data) => axios.post('/index/search' + postType(data));

export const menuList = () => axios.get('/menu/list');
